#!/usr/bin/env node
const koa = require('koa');
const logger = require('./middleware/logger');

const app = new koa();

app.use(logger);
app.use((ctx, next) =>{
    ctx.body = 'hello world!';

});

app.listen(3000);
